--官方的皮肤:skinprefabs.lua
--https://dontstarve.fandom.com/wiki/Belongings
--[[
    品质分类(仅财务皮肤,稀有度从上往下):
    Event:活动:活动期间才可以使用的皮肤:金色
    ProofOfPurchase:购买凭证:购买周边赠送的皮肤:深绿色
    Timeless:永恒:过去活动登录赠送的皮肤:较深绿色
    Loyal:忠诚:科雷点数商店换取的皮肤:浅绿色
    HeirloomElegant:祖传优雅:曾经不可编织的红皮如今有可以编织的,但是为了和可编织的区分开单独另算一种皮肤,拆掉获取1350线轴:深红色
    HeirloomDistinguished:祖传杰出:曾经不可编织的粉皮如今有可以编织的,但是为了和可编织的区分开单独另算一种皮肤,拆掉获取450线轴:深红色
    Elegant:优雅:就是我们常说的红色皮肤,包括编织的和不可编织的,拆掉获取450线轴:红色
    Distinguished:杰出:粉色皮肤,包括编织的和不可编织的,拆掉获取150线轴:粉色
    Spiffy:炫酷:紫色皮肤,包括编织的和不可编织的,拆掉获取50线轴:紫色
    Classy:上等:蓝色皮肤,包括编织的和不可编织的,拆掉获取15线轴:蓝色
    Complimentary:免费:普通皮肤,不变色,所有账号自动获取,原版仅唱片CD
]]

-- 暗影之冕-更深暗影
-- 设置默认皮肤的物品栏贴图
SHADOWWOVEN.MakeItemSkinDefaultImage("sw_shadow_crown", "images/sw_inventoryimages.xml", "sw_shadow_crown")
SHADOWWOVEN.MakeItemSkin(
    "sw_shadow_crown",                                        -- 默认皮肤代码
    "sw_shadow_crown_skin1",                                  -- 皮肤代码
    {
        name = STRINGS.SW_STRINGS.SW_SHADOW_CROWN_SKIN1_NAME, -- 皮肤名字,写在中英文lua文件里
        des = STRINGS.SW_STRINGS.SW_SHADOW_CROWN_SKIN1_DES,   -- 皮肤描述,写在中英文lua文件里
        rarity = "Classy",                                    -- 皮肤品质:参见上方品质分类
        atlas = "images/sw_inventoryimages.xml",              -- 皮肤64x64贴图路径文件
        image = "sw_shadow_crown_skin1",                      -- 皮肤64x64贴图
        build = "sw_shadow_crown_skin1",                      -- 皮肤动画材质包名
        bank = "sw_shadow_crown_skin1",                       -- 皮肤动画集合名
        basebuild = "sw_shadow_crown",                        -- 原皮动画材质包名
        basebank = "sw_shadow_crown",                         -- 原皮动画集合名
        assets = {
            Asset("ANIM", "anim/sw_shadow_crown_skin1.zip"),  -- 皮肤动画文件路径
        },
        swap_icon = true,
        checkfn = SHADOWWOVEN.SwSkinCheckFn,
        checkclientfn = SHADOWWOVEN.SwSkinCheckClientFn,
    }
)
-- 对应特效
SHADOWWOVEN.MakeItemSkin(
    "sw_shadow_crown_equipped",
    "sw_shadow_crown_equipped_skin1",
    {
        name = STRINGS.NAMES.SW_SHADOW_CROWN_EQUIPPED,
        rarity = "Complimentary",
        build = "sw_shadow_crown_equipped_skin1",
        bank = "sw_shadow_crown_equipped_skin1",
        basebuild = "sw_shadow_crown_equipped",
        basebank = "sw_shadow_crown_equipped",
        assets = {
            Asset("ANIM", "anim/sw_shadow_crown_equipped_skin1.zip"),
        },
    }
)

-- 暗影之冕-终极棱镜
SHADOWWOVEN.MakeItemSkinDefaultImage("sw_shadow_crown", "images/sw_inventoryimages.xml", "sw_shadow_crown")
SHADOWWOVEN.MakeItemSkin(
    "sw_shadow_crown",
    "sw_shadow_crown_skin2",
    {
        name = STRINGS.SW_STRINGS.SW_SHADOW_CROWN_SKIN2_NAME,
        des = STRINGS.SW_STRINGS.SW_SHADOW_CROWN_SKIN2_DES,
        rarity = "Classy",
        atlas = "images/sw_inventoryimages.xml",
        image = "sw_shadow_crown_skin2",
        build = "sw_shadow_crown_skin2",
        bank = "sw_shadow_crown_skin2",
        basebuild = "sw_shadow_crown",
        basebank = "sw_shadow_crown",
        assets = {
            Asset("ANIM", "anim/sw_shadow_crown_skin2.zip"),
        },
        swap_icon = true,
        checkfn = SHADOWWOVEN.SwSkinCheckFn,
        checkclientfn = SHADOWWOVEN.SwSkinCheckClientFn,
    }
)
-- 对应特效
SHADOWWOVEN.MakeItemSkin(
    "sw_shadow_crown_equipped",
    "sw_shadow_crown_equipped_skin2",
    {
        name = STRINGS.NAMES.SW_SHADOW_CROWN_EQUIPPED,
        rarity = "Complimentary",
        build = "sw_shadow_crown_equipped_skin2",
        bank = "sw_shadow_crown_equipped_skin2",
        basebuild = "sw_shadow_crown_equipped",
        basebank = "sw_shadow_crown_equipped",
        assets = {
            Asset("ANIM", "anim/sw_shadow_crown_equipped_skin2.zip"),
        },
    }
)

-- 猪机人-启迪猪猪
SHADOWWOVEN.MakeItemSkinDefaultImage("sw_pigbot", "images/sw_inventoryimages.xml", "sw_pigbot")
SHADOWWOVEN.MakeItemSkin(
    "sw_pigbot",
    "sw_pigbot_skin1",
    {
        name = STRINGS.SW_STRINGS.SW_PIGBOT_SKIN1_NAME,
        des = STRINGS.SW_STRINGS.SW_PIGBOT_SKIN1_DES,
        rarity = "Distinguished",
        atlas = "images/sw_inventoryimages.xml",
        image = "sw_pigbot_skin1",
        build = "sw_pigbot_skin1",
        bank = "sw_pigbot_skin1",
        basebuild = "sw_pigbot",
        basebank = "sw_pigbot",
        assets = {
            Asset("ANIM", "anim/sw_pigbot_skin1.zip"),
        },
        swap_icon = true,
        checkfn = SHADOWWOVEN.SwSkinCheckFn,
        checkclientfn = SHADOWWOVEN.SwSkinCheckClientFn,
    }
)

-- 猪机人-暗影猪猪
SHADOWWOVEN.MakeItemSkinDefaultImage("sw_pigbot", "images/sw_inventoryimages.xml", "sw_pigbot")
SHADOWWOVEN.MakeItemSkin(
    "sw_pigbot",
    "sw_pigbot_skin2",
    {
        name = STRINGS.SW_STRINGS.SW_PIGBOT_SKIN2_NAME,
        des = STRINGS.SW_STRINGS.SW_PIGBOT_SKIN2_DES,
        rarity = "Distinguished",
        atlas = "images/sw_inventoryimages.xml",
        image = "sw_pigbot_skin2",
        build = "sw_pigbot_skin2",
        bank = "sw_pigbot_skin2",
        basebuild = "sw_pigbot",
        basebank = "sw_pigbot",
        assets = {
            Asset("ANIM", "anim/sw_pigbot_skin2.zip"),
        },
        swap_icon = true,
        checkfn = SHADOWWOVEN.SwSkinCheckFn,
        checkclientfn = SHADOWWOVEN.SwSkinCheckClientFn,
    }
)

-- 猪猪炮-追光破坏者
SHADOWWOVEN.MakeItemSkinDefaultImage("sw_pig_cannon", "images/sw_inventoryimages.xml", "sw_pig_cannon")
SHADOWWOVEN.MakeItemSkin(
    "sw_pig_cannon",
    "sw_pig_cannon_skin1",
    {
        name = STRINGS.SW_STRINGS.SW_PIG_CANNON_SKIN1_NAME,
        des = STRINGS.SW_STRINGS.SW_PIG_CANNON_SKIN1_DES,
        rarity = "Distinguished",
        atlas = "images/sw_inventoryimages.xml",
        image = "sw_pig_cannon_skin1",
        build = "sw_pig_cannon_skin1",
        bank = "sw_pig_cannon_skin1",
        basebuild = "sw_pig_cannon",
        basebank = "sw_pig_cannon",
        assets = {
            Asset("ANIM", "anim/sw_pig_cannon_skin1.zip"),
        },
        swap_icon = true,
        checkfn = SHADOWWOVEN.SwSkinCheckFn,
        checkclientfn = SHADOWWOVEN.SwSkinCheckClientFn,
    }
)

-- 猪猪炮-逐影破坏者
SHADOWWOVEN.MakeItemSkinDefaultImage("sw_pig_cannon", "images/sw_inventoryimages.xml", "sw_pig_cannon")
SHADOWWOVEN.MakeItemSkin(
    "sw_pig_cannon",
    "sw_pig_cannon_skin2",
    {
        name = STRINGS.SW_STRINGS.SW_PIG_CANNON_SKIN2_NAME,
        des = STRINGS.SW_STRINGS.SW_PIG_CANNON_SKIN2_DES,
        rarity = "Distinguished",
        atlas = "images/sw_inventoryimages.xml",
        image = "sw_pig_cannon_skin2",
        build = "sw_pig_cannon_skin2",
        bank = "sw_pig_cannon_skin2",
        basebuild = "sw_pig_cannon",
        basebank = "sw_pig_cannon",
        assets = {
            Asset("ANIM", "anim/sw_pig_cannon_skin2.zip"),
        },
        swap_icon = true,
        checkfn = SHADOWWOVEN.SwSkinCheckFn,
        checkclientfn = SHADOWWOVEN.SwSkinCheckClientFn,
    }
)

-- 光影交织塔-我们是冠军
SHADOWWOVEN.MakeItemSkinDefaultImage("sw_shadowwoven_tower", "images/sw_inventoryimages.xml", "sw_shadowwoven_tower")
SHADOWWOVEN.MakeItemSkin(
    "sw_shadowwoven_tower",
    "sw_shadowwoven_tower_skin1",
    {
        name = STRINGS.SW_STRINGS.SW_SHADOWWOVEN_TOWER_SKIN1_NAME,
        des = STRINGS.SW_STRINGS.SW_SHADOWWOVEN_TOWER_SKIN1_DES,
        rarity = "HeirloomElegant",
        atlas = "images/sw_inventoryimages.xml",
        image = "sw_shadowwoven_tower_skin1",
        build = "sw_shadowwoven_tower_skin1",
        bank = "sw_shadowwoven_tower_skin1",
        basebuild = "sw_shadowwoven_tower",
        basebank = "sw_shadowwoven_tower",
        assets = {
            Asset("ANIM", "anim/sw_shadowwoven_tower_skin1.zip"),
        },
        swap_icon = true,
        checkfn = SHADOWWOVEN.SwSkinCheckFn,
        checkclientfn = SHADOWWOVEN.SwSkinCheckClientFn,
    }
)
